import { createStore } from "vuex";

export default createStore({
  state: {
    IfTheFullScreen: "", // 是否全屏显示
    WhetherNot: false, //左侧菜单是否缩小
    currentMenu: null, //左侧菜单 当前选中
    browsingHistory: [], //用户浏览记录
    dialogVisibleImg: false, // 是否显示上传图片
    keepAlive: [
      "index",
      "keyword",
      "winnersList",
      "newShare",
      "ShortTermAssistant",
      "conceptOfPlate",
      "observationArea",
    ],
    routerName: "", // 当前路由的名称
    currentTime: 0, // 当前的时间戳
    currentTimeOnes: 0,
    windowSize: 1920,
    windHeight: 0,
  },
  mutations: {},
  actions: {},
  modules: {},
});
